<template>
	<view class="container">
		<navbar :title="status==1?'支付成功':'支付失败'" />
		<image src="@/static/index/pay-icon4.png" mode=""></image>
		<view class="title">
			支付失败
		</view>
		<view class="tips">
			支付遇到问题，请重新尝试支付
		</view>
		<view class="btn">
			<navigator url="/pages/index/index">
				<text>查看订单</text>
			</navigator>
			<navigator url="/pages/index/index" open-type="switchTab">
				<text class="index">返回首页</text>
			</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				status: 1
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.container {
		padding: 100rpx;
		text-align: center;

		image {
			width: 140rpx;
			height: 140rpx;
		}

		.title {
			font-weight: bold;
			font-size: 36rpx;
			margin-top: 30rpx;
		}

		.tips {
			font-size: 28rpx;
			color: #999;
			margin: 10rpx 60rpx;
		}
	}

	.btn {
		margin-top: 70rpx;
		font-size: 28rpx;
		display: flex;
		justify-content: space-between;

		text {
			display: block;
			width: 250rpx;
			line-height: 72rpx;
			color: #fff;
			background-color: $assist-color2;
			border-radius: 100rpx;
		}

		.index {
			background-color: #fff;
			color: $assist-color2;
			border: 2rpx solid $assist-color2;
		}
	}
</style>